import Entry_index from "../views/entry";
import layout from "../layout/index";
import Entry_tabs from "../views/entry/tabs";
import Views_index from "../views";
import { Route } from "react-router-dom";
export const routes = [
  {
    path: "/",
    component: Views_index,
    // redirect: "/entry_index",
    pid: 0,
    id: 1,
    meta: {
      title: "首页",
    },
    children: [
      {
        pid: 1,
        id: 2,
        path: "/entry_index",
        component: Entry_index,
        meta: {
          title: "首页入口",
        },
      },
      {
        pid: 1,
        id: 3,
        path: "/entry_tabs",
        component: Entry_tabs,
        meta: {
          title: "首页标签",
        },
        children: [
          {
            pid: 3,
            id: 4,
            path: "/entry_tabs/entry_tabs1",
            component: Entry_tabs,
            meta: {
              title: "首页入口1",
            },
          },
          {
            pid: 3,
            id: 5,
            path: "/entry_tabs/entry_tabs2",
            component: Entry_tabs,
            meta: {
              title: "首页标签1",
            },
          },
        ],
      },
    ],
  },
];

export const entry = [
  {
    path: "/",
    component: Views_index,
  },
];
